package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.bean.Orders;
import com.itheima.dto.OrdersDto;
import org.springframework.transaction.annotation.Transactional;

public interface OrderService extends IService<Orders> {
    @Transactional
    void submit(Orders order);

    IPage<OrdersDto> getPage(Integer page, Integer pageSize);

}
